<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<?php include Doo::conf()->SITE_PATH .  Doo::conf()->PROTECTED_FOLDER . "viewc//header.php"; ?>
</head>
<body id='main-site-body'>
<?php include Doo::conf()->SITE_PATH .  Doo::conf()->PROTECTED_FOLDER . "viewc//menu.php"; ?>
<div id='main-site-globalbo'>
	<a title="logo" href="<?php echo $data['baseurl']; ?>admin"><img id="logo" alt="logo" src="<?php echo $data['baseurl']; ?>global/img/globalbo/logo.png"></a>
	<div id='message-bienvenue'><p>Bienvenue <span class='blue'><?php echo $data['user']; ?></span>, vous êtes connecté à l'espace d'administration du site</p></div>
	<div id='main-site-global-widgetzone'>
		<?php if( !empty($data['widget']) ): ?>
			<?php foreach($data['widget'] as $k1=>$v1): ?>
				<div class="main-site-globalbo-widget main-site-globalbo-widget-width-<?php echo $v1['properties']; ?>" > 
					<div class='main-site-globalbo-widget-title'>
						<a href="<?php echo $data['baseurl']; ?>admin/<?php echo $v1['url']; ?>">
							<?php echo $v1['title']; ?>
						</a>
					</div>
					<div class='main-site-globalbo-widget-content'>
						<h1><?php echo $v1['contentTitle']; ?></h1>
						<p><?php echo $v1['content']; ?></p>
					</div>
				</div>
			<?php endforeach; ?>
		<?php else: ?>
			<p>Vous n'avez accès à aucun module</p>
		<?php endif; ?>
	</div>
</div>
</body>
</html>